package com.j283_5.wisdom_park.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public class Opelogmanage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 操作日志id
     */
    @TableId(value = "op_id", type = IdType.AUTO)
    private Integer opId;

    /**
     * 资源名称
     */
    private String opName;

    /**
     * 操作类型（0数据查询 1数据修改）
     */
    private Integer opType;

    /**
     * 操作人id
     */
    private Integer adId;

    /**
     * 请求ip
     */
    private String opIp;

    /**
     * 执行结果（0成功 1驳回）
     */
    private Integer opResult;

    /**
     * 应用描述
     */
    private String opDescribe;

    /**
     * 操作时间
     */
    private LocalDate opTime;


    public Integer getOpId() {
        return opId;
    }

    public void setOpId(Integer opId) {
        this.opId = opId;
    }

    public String getOpName() {
        return opName;
    }

    public void setOpName(String opName) {
        this.opName = opName;
    }

    public Integer getOpType() {
        return opType;
    }

    public void setOpType(Integer opType) {
        this.opType = opType;
    }

    public Integer getAdId() {
        return adId;
    }

    public void setAdId(Integer adId) {
        this.adId = adId;
    }

    public String getOpIp() {
        return opIp;
    }

    public void setOpIp(String opIp) {
        this.opIp = opIp;
    }

    public Integer getOpResult() {
        return opResult;
    }

    public void setOpResult(Integer opResult) {
        this.opResult = opResult;
    }

    public String getOpDescribe() {
        return opDescribe;
    }

    public void setOpDescribe(String opDescribe) {
        this.opDescribe = opDescribe;
    }

    public LocalDate getOpTime() {
        return opTime;
    }

    public void setOpTime(LocalDate opTime) {
        this.opTime = opTime;
    }

    @Override
    public String toString() {
        return "Opelogmanage{" +
        "opId=" + opId +
        ", opName=" + opName +
        ", opType=" + opType +
        ", adId=" + adId +
        ", opIp=" + opIp +
        ", opResult=" + opResult +
        ", opDescribe=" + opDescribe +
        ", opTime=" + opTime +
        "}";
    }
}
